#include <catch2/catch.hpp>

#include "solution.hpp"

using namespace solution_077;

TEST_CASE("77. Combinations", "[077]") {
    SECTION("example 1") {
        auto comb = Solution().combine(4, 2);
        CAPTURE(comb);
        CHECK(comb.size() == 6);
    }
    SECTION("example 2") {
        auto comb = Solution().combine(1, 1);
        CHECK(comb.size() == 1);
    }
    SECTION("example 2") {
        auto comb = Solution().combine(6, 4);
        CAPTURE(comb);
        CHECK(comb.size() == 15);
    }
}
